package com.cbx.service;

import com.cbx.pojo.Books;

import java.util.List;

/**
 * @author cbx
 * @date 2021/12/26
 * @apiNote
 */
public interface BookService {
    int addBook(Books books);

    int deleteBookById(int id);

    int updateBook(Books books);

    Books queryBookById(int id);

    List<Books> queryAllBook();
}
